package com.gs.user.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

import java.util.HashMap;
import java.util.Map;

@RestController

public class OrderController {

    @Autowired
    private RestTemplate restTemplate;


    @RequestMapping("/createorder")
    public Map createOrder()
    {
        Map<String,String> map =new HashMap<>();

        map.put("orderId1","123133242444");
        return map;
    }

}
